<p>
<%=session[:user][:email]%> [<%= link_to('X',logout_users_path) %>]
</p>
<%  if(session[:user] && session[:user].rights>=ADMIN_USER) %>
  <p>
  <h2>Administration</h2>
  <%= link_to 'Tout mettre à jour', update_all_rss_categories_path %><br/>
  <%= link_to 'svn update', svn_update_categories_path %><br/>
  <%= link_to 'Arreter hellanzb', { :controller => 'application', :action => 'stop_hellanzb'} %><br/>
  <%= link_to 'Démarrer hellanzb',  { :controller => 'application', :action => 'start_hellanzb'} %><br/>
  <%= link_to('Continuer hellanzb',  { :controller => 'application', :action => 'continue_hellanzb'}) %>
</p>
<% end %>
